namespace KPIS.GERP.Models.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class update0076 : DbMigration
    {
        public override void Up()
        {
            AddColumn("dbo.SysTaskHistory", "TaskId", c => c.Int());
            AddForeignKey("dbo.SysTaskHistory", "TaskId", "dbo.SysTask", "TaskId");
            CreateIndex("dbo.SysTaskHistory", "TaskId");
        }
        
        public override void Down()
        {
            DropIndex("dbo.SysTaskHistory", new[] { "TaskId" });
            DropForeignKey("dbo.SysTaskHistory", "TaskId", "dbo.SysTask");
            DropColumn("dbo.SysTaskHistory", "TaskId");
        }
    }
}
